package com.zeek.car90s;

import com.google.android.gms.ads.InterstitialAd;
import com.google.android.gms.ads.reward.RewardedVideoAd;

/**
 * Created by Administrator on 2016/4/7.
 */
public class Constants {

    public static final String MogoID = "c0bbf866257a4fd88de21db38747ab4d";//90s Car Quiz

    public static boolean IS_UNLOCK_ALL_LEVEL=false;//是否解锁全部的关卡，一般用来测试截图使用

    public static final int TYPE=1;//显示类型，1-图片，2-文字，3-文字和图片混合显示

    public static int CURRENT_LEVEL=0;//当前的关卡数，从0开始l
    public static int MAX_UNLOCK_LEVEL =0;//最大解锁关卡数
    public static int TOTAL_LEVEL=-1;//游戏的总关卡数
    public static int TOTAL_COIN=0;//金币数
    public static int TOTAL_COIN_DEFAULT_VALUE=30;//默认初始金币数
    public static int MAX_CON_ID;//已领取金币的最大关卡数
    public static int ANSWER_COUNT=21;//备选答案的字数
//    public static int ANSWER_MIX_COUNT=10;//答案最少的字数，在英文版中使用
    public static int CURRENT_VERSION_CODE=1;//当前版本号
    public static boolean IS_ADD_COIN=false;

    public static final String SHARED_PREFERENCE_PREFIX="guess_oracle";
    public static final String COIN_PREFIX="total_coin";
    public static final String MAX_LEVEL_PREFIX="max_level";
    public static final String CURRENT_LEVEL_PREFIX="current_level";
    public static final String IS_PLAY_MUSIC_PREFIX="is_play_music";
    public static final String MAX_COIN_ID_PREFIX="max_coin_id";
    public static final String CURRENT_VERSION_CODE_PREFIX="current_version_code";
    public static final String TOTAL_LEVEL_PREFIX="total_level";

    //倒计时配置
    public static long START_TIME_BONUS;
    public static final String START_TIME_BONUS_PREFIX = "start_time_bonus";
    public static final int BONUS_COINS_TIME=5*60*1000;//隔多少时间领一次金币，单位：毫秒

    public static long START_TIME_FEELING_LUCKY;
    public static final String START_TIME_FEELING_LUCKY_PREFIX = "start_time_feeling_lucky";
    public static final int FEELING_LUCKY_COINS_TIME=4*1000;//隔多少时间领一次Feeling Lucky金币，单位：毫秒

    public static long START_TIME_MORE_GAMES;
    public static final String START_TIME_MORE_GAMES_PREFIX = "start_time_more_games";
    public static final int MORE_GAMES_COINS_TIME=15*1000;//隔多少时间领一次Feeling Lucky金币，单位：毫秒

    //领取金币部分的配置
    public static final int COINS_EARN_BONUS =5;//每隔一段时间领取的金币数
    public static final int COINS_EARN_RATE_APP=30;//评论app给的金币数（Google Play里这样做是违规的）
    public static final int COINS_EARN_WATCH_VIDEO =9;//观看视频给的金币
    public static final int COINS_EARN_MORE_GAMES=1;//查看更多游戏给的金币

    public static final int COINS_EARN_NEXT_LEVEL=2;//过了一关之后给的金币

    //消费金币部分的配置
    public static final int COINS_COST_RANDOM_LETTER=3;//随机提示一个字母消耗的金币数
    public static final int COINS_COST_REMOVE_ONE_LETTER=1;//随机移除一个字母
    public static final int COINS_COST_REMOVE_EXTRA_LETTERS=6;//移除所有的多余字母
    public static final int COINS_COST_SOLVE=15;//解决问题消耗的金币数

    //返回码
    public static final int REQUEST_CODE_RATE_APP = 10001;
    public static final int REQUEST_CODE_MORE_GAMES = 10002;

    public static boolean isPlayMusic=true;//音效是否打开
    public static int CHECK_ANSWER_COUNT=0;//花费金币查看答案的次数

    public static InterstitialAd mInterstitialAd;//插屏对象
    public static RewardedVideoAd rewardedVideoAd;//激励视频对象

    //TFBOYS王牌对王牌数据
    public static String APPId="1105397729";
    public static String GridAppWallPosID="9040014221128327";//橱窗

//    public static int FREE_TRY_TIME =3;//每局最多免费尝试3个答案
//    public static int TRY_COIN=2;//超过免费尝试次数之后第一次需要5金币

    //分享平台的配置
    public static final String WX_APP_ID="wx09a99f83608b2e39";//一句话猜名人微信平台
    public static final String WX_APP_SECRET="7df8f384258d0d9149ca7ec803322956";
}
